package com.jumi.microservice.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 分销数据统计
 * @author ssk
 * @create 20/11/13 14:34
 **/
@ApiModel("客户分销历史统计")
public class JmUserStatisticsFenxiao implements Serializable {


    private static final long serialVersionUID = 4342391959570545423L;


    @ApiModelProperty("主键ID")
    private Integer id;

    @ApiModelProperty("用户Id")
    private Integer uid;

    @ApiModelProperty("上级用户ID")
    private Integer pid;

    @ApiModelProperty("收益")
    private BigDecimal fenxiao;

    @ApiModelProperty("昨日收益")
    private BigDecimal fenxiaoYesterday;

    @ApiModelProperty("昨日推广收益")
    private BigDecimal fenxiaoTgYesterday;

    @ApiModelProperty("昨日服务收益")
    private BigDecimal fenxiaoFwYesterday;

    @ApiModelProperty("7日收益")
    private BigDecimal fenxiaoWeek;

    @ApiModelProperty("7日推广收益")
    private BigDecimal fenxiaoTgWeek;

    @ApiModelProperty("7日服务收益")
    private BigDecimal fenxiaoFwWeek;

    @ApiModelProperty("30日收益")
    private BigDecimal fenxiaoMonth;

    @ApiModelProperty("30日推广收益")
    private BigDecimal fenxiaoTgMonth;

    @ApiModelProperty("30日服务收益")
    private BigDecimal fenxiaoFwMonth;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public BigDecimal getFenxiao() {
        return fenxiao;
    }

    public void setFenxiao(BigDecimal fenxiao) {
        this.fenxiao = fenxiao;
    }

    public BigDecimal getFenxiaoYesterday() {
        return fenxiaoYesterday;
    }

    public void setFenxiaoYesterday(BigDecimal fenxiaoYesterday) {
        this.fenxiaoYesterday = fenxiaoYesterday;
    }

    public BigDecimal getFenxiaoTgYesterday() {
        return fenxiaoTgYesterday;
    }

    public void setFenxiaoTgYesterday(BigDecimal fenxiaoTgYesterday) {
        this.fenxiaoTgYesterday = fenxiaoTgYesterday;
    }

    public BigDecimal getFenxiaoFwYesterday() {
        return fenxiaoFwYesterday;
    }

    public void setFenxiaoFwYesterday(BigDecimal fenxiaoFwYesterday) {
        this.fenxiaoFwYesterday = fenxiaoFwYesterday;
    }

    public BigDecimal getFenxiaoWeek() {
        return fenxiaoWeek;
    }

    public void setFenxiaoWeek(BigDecimal fenxiaoWeek) {
        this.fenxiaoWeek = fenxiaoWeek;
    }

    public BigDecimal getFenxiaoTgWeek() {
        return fenxiaoTgWeek;
    }

    public void setFenxiaoTgWeek(BigDecimal fenxiaoTgWeek) {
        this.fenxiaoTgWeek = fenxiaoTgWeek;
    }

    public BigDecimal getFenxiaoFwWeek() {
        return fenxiaoFwWeek;
    }

    public void setFenxiaoFwWeek(BigDecimal fenxiaoFwWeek) {
        this.fenxiaoFwWeek = fenxiaoFwWeek;
    }

    public BigDecimal getFenxiaoMonth() {
        return fenxiaoMonth;
    }

    public void setFenxiaoMonth(BigDecimal fenxiaoMonth) {
        this.fenxiaoMonth = fenxiaoMonth;
    }

    public BigDecimal getFenxiaoTgMonth() {
        return fenxiaoTgMonth;
    }

    public void setFenxiaoTgMonth(BigDecimal fenxiaoTgMonth) {
        this.fenxiaoTgMonth = fenxiaoTgMonth;
    }

    public BigDecimal getFenxiaoFwMonth() {
        return fenxiaoFwMonth;
    }

    public void setFenxiaoFwMonth(BigDecimal fenxiaoFwMonth) {
        this.fenxiaoFwMonth = fenxiaoFwMonth;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
